]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
util: clear user verifier after cancelling it
authorRay Strode <rstrode@redhat.com>
Mon, 29 Jul 2013 14:52:02 +0000 (10:52 -0400)
committerRay Strode <rstrode@redhat.com>
Thu, 1 Aug 2013 20:08:23 +0000 (16:08 -0400)
If we don't clear it, then the connection to gdm will remain open.

https://bugzilla.gnome.org/show_bug.cgi?id=683437

js/gdm/util.js

index 1facf98814b3217e223b4859160f7216b99ec00c..9557c66a013d69eb8dc68035957f94e021e40ea3 100644 (file)
@@ -148,8 +148,10 @@ const ShellUserVerifier = new Lang.Class({
         if (this._cancellable)
             this._cancellable.cancel();
 
-        if (this._userVerifier)
+        if (this._userVerifier) {
             this._userVerifier.call_cancel_sync(null);
+            this.clear();
+        }
     },
 
     clear: function() {